package com.yfp.goods.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品营养表(GoodsNutritive)实体类
 *
 *
 * @since 2023-12-20 22:22:55
 */
@Schema(title = "商品营养表")
public class GoodsNutritive implements Serializable {
    private static final long serialVersionUID = 820716284455703364L;

    private Long id;

    /**
     * 商品id
     */
    @Schema(title ="商品id")
    private String goodsId;
    /**
     * 营养价值
     */
    @Schema(title ="营养价值")
    private String nutritive;
    /**
     * 数值
     */
    @Schema(title ="数值")
    private String value;
    /**
     * 创建时间
     */
    @Schema(title ="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
     * 是否删除
     */
    @Schema(title ="是否删除")
    private Boolean isDelete;

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getNutritive() {
        return nutritive;
    }

    public void setNutritive(String nutritive) {
        this.nutritive = nutritive;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

}

